package utils;
 
import entitys.Campeonato;
import entitys.Time;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author Amauri
 */
public class Implantacao {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        EntityManagerFactory emf = Persistence.createEntityManagerFactory("TrabalhoFinal");
        EntityManager em = emf.createEntityManager();
        
        em.getTransaction().begin();
        em.getTransaction().commit();
        
        em.close();
        emf.close();
        
    }
    
}
